from django.conf.urls import patterns, include, url
from books import views
from django.contrib import admin

from testsite import contact_form

admin.autodiscover()



urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'testsite.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
       ('^time/$', 'testsite.view.nowtime'),
       ('^time_tem/$', 'testsite.view_tem.nowtime_tem'),
       ('^time_tem_short/$', 'testsite.view_tem_short.nowtime_tem_short'),
       ('^view_test/$', 'testsite.view_test.display_meta'),
       #('^search_form/$', 'books.views.search_form'),
       ('^search/$', views.search),
       ('^contact/$',contact_form.contact),
       ('^contact/thanks/',views.thank)
)
